package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 城市疫情信息与风险区显示对象 dict
 * 
 * @author 凡诚
 * @date 2022-11-04
 */
public class Dict extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 上级id */
    @Excel(name = "上级id")
    private Long parentId;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 所在区域总患者数量 */
    @Excel(name = "所在区域总患者数量")
    private Long cases;

    /** 所在区域患者治愈数量 */
    @Excel(name = "所在区域患者治愈数量")
    private Long cures;

    /** 所在区域患者死亡数量 */
    @Excel(name = "所在区域患者死亡数量")
    private Long death;

    /** 所在区域患者新增数量 */
    @Excel(name = "所在区域患者新增数量")
    private Long added;

    /** 删除标记（0:不可用 1:可用） */
    @Excel(name = "删除标记", readConverterExp = "0=:不可用,1=:可用")
    private Integer isDeleted;

    /** 地区状态,1:低风险，2：中风险，3：高风险 */
    @Excel(name = "地区状态,1:低风险，2：中风险，3：高风险")
    private Long state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCases(Long cases) 
    {
        this.cases = cases;
    }

    public Long getCases() 
    {
        return cases;
    }
    public void setCures(Long cures) 
    {
        this.cures = cures;
    }

    public Long getCures() 
    {
        return cures;
    }
    public void setDeath(Long death) 
    {
        this.death = death;
    }

    public Long getDeath() 
    {
        return death;
    }
    public void setAdded(Long added) 
    {
        this.added = added;
    }

    public Long getAdded() 
    {
        return added;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("name", getName())
            .append("cases", getCases())
            .append("cures", getCures())
            .append("death", getDeath())
            .append("added", getAdded())
            .append("isDeleted", getIsDeleted())
            .append("state", getState())
            .toString();
    }
}
